package com.example.demo.entity;

import lombok.Data;
import lombok.RequiredArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 专业类
 */
@Data
@RequiredArgsConstructor
public class Profession {
    private int proNo;
    private String proName;
    //所属院系，多个专业对应一个学院
    private Faculty faculty;
}
